package com.rectcircle.scalatrateset.actor

import akka.actor.Actor

/**
  * @author Rectcircle
  *         createTime 2016/12/31
  */

class MyActor extends Actor {
	def receive = {
		case "Do stuff and give me an answer" => sender ! "The answer is 42"
		case "Hey, you know what?" => println("Yeah I know... oh boy do I know")
	}
	
}
